package com.jusda.message.producer.strategy;

import com.jusda.message.entity.UserScore;
import org.apache.rocketmq.client.exception.MQClientException;

import java.util.List;

/**
 * @author:y022 25/04/2022 22:59
 * @description:
 */
public interface ProducerStrategy {
     void sendMessage(UserScore data) throws MQClientException;
     void batchSendMessage( List<UserScore> data) throws MQClientException;
}
